home *** CD-ROM | disk | FTP | other *** search
- jalert.tcl\n\nIntroduction\nThe\ jalert.tcl\ library\ is\ distributed\ as\ part\ of\ the\ jstools\ package.\ \ It\ provides\ a\ modal\ alert\ panel\ you\ can\ use\ to\ present\ notices\ to\ your\ users.\ \ It's\ fairly\ intrusive,\ so\ it\ should\ be\ used\ sparingly.\n\nThis\ document\ describes\ jalert.tcl\ version\ 3.6/3.0.\n\nUsage\nAccessing\ the\ Library\nIn\ order\ to\ use\ the\ jalert.tcl\ library,\ it\ (and\ any\ other\ libraries\ it\ depends\ on)\ must\ be\ in\ your\ Tcl\ auto_path,\ described\ in\ tclvars(n).\ \ Information\ about\ how\ to\ arrange\ that,\ and\ other\ conventions\ common\ to\ the\ jstools\ libraries,\ is\ in\ the\ Usage\ section\ \ of\ The\ jstools\ Libraries.\n\nCredits\ and\ Copyright\nAuthor\nJay\ Sekora\ \njs@bu.edu\nhttp://shore.net/~js/\n\nCopyright\nThe\ library\ is\ copyright\ ⌐\ 1992-1994\ by\ Jay\ Sekora,\ but\ may\ be\ freely\ copied\ and\ modified\ for\ non¡commercial\ purposes.\ \ (Please\ contact\ me\ if\ you\ want\ to\ use\ it\ for\ a\ commercial\ purpose,\ this\ may\ be\ OK\ under\ some\ circumstances.)\n\nOverview\nProcedure\nj:alert\ -\ alert\ panel\n\nj:alert\nUsage\n\tj:alert\ \[options\]\nOptions\n\t-title\ title\ \ (default\ Alert)\n\t-text\ text\ \ (default\ Alert!\ -\ not\ really\ optional)\n\nExample\n\tj:alert\ -title\ Error\ -text\ \\\n\t\ \ \"File\ \\\"\$file\\\"\ not\ found.\"\n\t\nDescription\nThis\ prodedure\ creates\ a\ popup\ alert\ window\ displaying\ the\ text\ text\ (in\ a\ message\ widget),\ with\ an\ OK\ button\ which\ will\ make\ the\ alert\ box\ go\ away\ and\ return\ control\ to\ your\ application.\n\nIf\ title\ is\ specified,\ it\ will\ be\ the\ title\ of\ the\ panel,\ for\ use\ by\ the\ window\ manager.\n\nIf\ the\ global\ variable\ J_PREFS(autoposition)\ is\ true,\ the\ panel\ will\ be\ (approximately)\ centred\ on\ the\ screen\ by\ the\ j:dialogue\ procedure\ (in\ jtkutils.tcl).\n\nEvolution\nFeel\ free\ to\ report\ bugs\ (and\ feature\ requests)\ to\ me,\ <js@bu.edu>,\ and\ I\ will\ try\ to\ deal\ with\ them.\ \ Also,\ feel\ free\ to\ fix\ bugs\ or\ add\ features\ on\ your\ own\ and\ let\ me\ know\ how\ you\ did\ it.\n\nChanges\n*\ The\ j:alert\ procedure\ used\ to\ be\ in\ a\ file\ called\ jlibrary.tcl.\ \ Starting\ with\ version\ 3.6/3.0,\ it's\ in\ its\ own\ independent\ library.\n\nFuture\ Directions\n*\ You\ should\ be\ able\ to\ specify\ a\ class\ for\ the\ toplevel\ panel.\n\n*\ There\ should\ be\ a\ way\ to\ specify\ how\ important\ a\ particular\ notice\ is,\ and\ a\ user\ preference\ for\ how\ important\ a\ notice\ has\ to\ be\ in\ order\ actually\ to\ be\ displayed\ (along\ the\ lines\ of\ the\ j:confirm\ panel).\n {{{jdoc:xref:link {4.53 4.60 10.211 10.232 10.240 10.258 10.262 10.283 23.0 23.7 41.117 41.127 41.142 41.154}} {jdoc:xref:manpage {10.127 10.134}} {jdoc:anchor:anchorname {3.0 4.0 12.0 13.0 21.0 22.0 25.0 26.0 43.0 44.0}} {richtext:font:roman {2.0 3.0 4.0 4.4 4.14 4.53 4.60 4.204 5.0 6.24 6.34 8.0 8.5 9.0 9.21 10.20 10.30 10.103 10.112 10.127 10.134 10.215 10.222 10.244 10.249 10.262 10.283 12.0 14.0 15.0 15.9 16.0 16.21 17.0 19.0 21.0 23.7 25.0 27.9 27.10 27.17 28.0 29.15 29.24 29.29 30.0 30.13 30.22 30.28 32.0 35.0 36.0 37.0 37.64 37.68 39.3 39.8 41.23 41.44 41.117 41.127 41.142 41.154 43.0 44.0 44.55 44.66 46.0 46.7 47.6 47.13 47.52 47.64 49.0 49.17 52.190 52.199 53.0}} {richtext:font:italic {27.10 27.17 29.8 29.13 30.7 30.11 37.64 37.68 39.3 39.8}} {richtext:font:bold {4.4 4.14 4.53 4.60 4.204 5.0 6.24 6.34 10.20 10.30 10.215 10.222 41.142 41.154 47.52 47.64}} {richtext:font:bolditalic {10.244 10.249 10.262 10.283}} {richtext:font:typewriter {10.103 10.112 10.127 10.134 15.0 15.9 16.0 16.21 23.0 23.7 27.0 27.9 29.0 29.8 29.13 29.15 29.24 29.29 30.0 30.7 30.11 30.13 30.22 30.28 33.0 35.0 41.23 41.44 41.117 41.127 44.55 44.66 47.6 47.13 52.190 52.199}} {richtext:font:heading0 {1.0 2.0}} {richtext:font:heading1 {3.0 4.0 8.0 8.5 12.0 13.0 21.0 22.0 25.0 26.0 43.0 44.0}} {richtext:font:heading2 {9.0 9.21 13.0 14.0 17.0 19.0 22.0 23.0 26.0 27.0 28.0 29.0 32.0 33.0 36.0 37.0 46.0 46.7 49.0 49.17}} {{} {11.0 21.0 22.0 23.0 24.0 25.2 25.7 27.3 27.8 29.24 29.29 30.22 30.28 32.0 40.0 41.72 41.109 41.137 41.155 42.0 43.0 46.0 47.134 48.0}} {jdoc:link:jstools.jdoc {4.53 4.60}} {jdoc:manpage:tclvars {10.127 10.134}} {jdoc:link:jslibraries.jdoc#Usage {10.240 10.258}} {jdoc:link:jslibraries.jdoc {10.211 10.232 10.262 10.283}} {jdoc:anchorname:Evolution {43.0 44.0}} {jdoc:anchorname:Credits_and_Copyright {12.0 13.0}} {jdoc:anchorname:Introduction {3.0 4.0}} {jdoc:anchorname:Overview {21.0 22.0}} {{jdoc:section:j:alert } {23.0 23.7}} {jdoc:link:#j:alert {23.0 23.7}} {jdoc:anchorname:j:alert {25.0 26.0}} {jdoc:link:jtkutils.tcl.jdoc {41.142 41.154}} {jdoc:link:jtkutils.tcl.jdoc#j:dialogue {41.117 41.127}}} {{del_from 53.0} {matchend 53.0} {abbrevstart 52.1} {abbrevend 52.1} {insert 6.50} {del_to 53.0} {matchstart 53.0} {anchor 6.50} {emacs_mark 53.0} {current 1.10}}}